#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include "speechManager.h"
#include "speaker.h"
using namespace std;

int main(int argc, char const *argv[])
{
    //随机数种子
    srand((unsigned int)time(NULL));
    //创建管理类对象
    SpeechManager sm;

    //测试12名选手创建
    // for (map<int, Speaker>::iterator it = sm.m_Speaker.begin(); it != sm.m_Speaker.end(); it++)
    // {
    // 	cout << "选手编号：" << it->first << "  姓名：" << it->second.m_Name << " 分数：" << it->second.m_Score[0] << endl;
    // }
    sm.startSpeech();
    sm.startSpeech();
    sm.saveRecord();
    sm.loadRecord();

    return 0;
}
